package com.easy.service;

import com.easy.bean.Cases;
import com.easy.bean.DepIdCount;
import com.easy.util.Page;

import java.util.List;

public interface ICasesService {

    List<Cases> getCases(Cases cases);

    int addCases(Cases cases);

    int delCases(int id);

    Cases getCasesById(int id);
    int editCases(Cases cases) throws Exception;

    int editCasesPay(Cases cases);
    List<Cases> getCases(Cases cases, Page page);
    int getCount(Cases cases);

    List<DepIdCount> getDep_idCount();
}
